package com.pet.order.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "订单退款表单实体")
public class RefundFormDTO {

    @ApiModelProperty("订单id")
    @NotNull(message = "订单ID")
    private Long orderId;

    @ApiModelProperty("退单理由")
    @NotBlank(message = "退单理由")
    private String refundReason;
}
